package com.jiazhong.cloud.sentinel.consumer.feign;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SentinelProviderPlanB implements SentinelProviderFeign {
    @GetMapping("/a")
    public String a() {
        return "我是a方法的备选B方案，当服务无法调用时执行";
    }

    @GetMapping("/b")
    public String b() {
        return "我是b方法的备选B方案，当服务无法调用时执行";
    }
}
